<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-JAVA: awtk.NamedValue类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-JAVA
   </div>
   <div id="projectbrief">AWTK JAVA API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>awtk</b></li><li class="navelem"><a class="el" href="classawtk_1_1_named_value.html">NamedValue</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="classawtk_1_1_named_value-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">awtk.NamedValue类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a5eac692510332bc246580fd1ede0e402"><td class="memItemLeft" align="right" valign="top"><a id="a5eac692510332bc246580fd1ede0e402"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>NamedValue</b> (long nativeObj)</td></tr>
<tr class="separator:a5eac692510332bc246580fd1ede0e402"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a425f793b32bb90a46e956ab704cd1883"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_named_value.html#a425f793b32bb90a46e956ab704cd1883">setName</a> (String name)</td></tr>
<tr class="separator:a425f793b32bb90a46e956ab704cd1883"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a288b648448cc960e3ef0b201da369b36"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_named_value.html#a288b648448cc960e3ef0b201da369b36">setValue</a> (<a class="el" href="classawtk_1_1_value.html">Value</a> value)</td></tr>
<tr class="separator:a288b648448cc960e3ef0b201da369b36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6136a0e5cdff20cb633a85518528923"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classawtk_1_1_value.html">Value</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_named_value.html#af6136a0e5cdff20cb633a85518528923">getValue</a> ()</td></tr>
<tr class="separator:af6136a0e5cdff20cb633a85518528923"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01de2e65078532d362fc30f60ed36448"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_named_value.html#a01de2e65078532d362fc30f60ed36448">destroy</a> ()</td></tr>
<tr class="separator:a01de2e65078532d362fc30f60ed36448"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba2e502a4618eee24ef783b7972ff92a"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_named_value.html#aba2e502a4618eee24ef783b7972ff92a">getName</a> ()</td></tr>
<tr class="separator:aba2e502a4618eee24ef783b7972ff92a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a4a7039a79507a854f78d7b705af7cae9"><td class="memItemLeft" align="right" valign="top"><a id="a4a7039a79507a854f78d7b705af7cae9"></a>
static <a class="el" href="classawtk_1_1_named_value.html">NamedValue</a>&#160;</td><td class="memItemRight" valign="bottom"><b>cast</b> (long nativeObj)</td></tr>
<tr class="separator:a4a7039a79507a854f78d7b705af7cae9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adce66225fb372dc865fe9acddb5ab84e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_named_value.html">NamedValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_named_value.html#adce66225fb372dc865fe9acddb5ab84e">create</a> ()</td></tr>
<tr class="separator:adce66225fb372dc865fe9acddb5ab84e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98752cc5814d5369612afb49d1327fda"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_named_value.html">NamedValue</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_named_value.html#a98752cc5814d5369612afb49d1327fda">cast</a> (<a class="el" href="classawtk_1_1_named_value.html">NamedValue</a> nv)</td></tr>
<tr class="separator:a98752cc5814d5369612afb49d1327fda"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a70a3e9dfdfc34c584a2d547a4fed0b6c"><td class="memItemLeft" align="right" valign="top"><a id="a70a3e9dfdfc34c584a2d547a4fed0b6c"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><b>nativeObj</b></td></tr>
<tr class="separator:a70a3e9dfdfc34c584a2d547a4fed0b6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>命名的值。 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a98752cc5814d5369612afb49d1327fda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98752cc5814d5369612afb49d1327fda">&#9670;&nbsp;</a></span>cast()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_named_value.html">NamedValue</a> awtk.NamedValue.cast </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classawtk_1_1_named_value.html">NamedValue</a>&#160;</td>
          <td class="paramname"><em>nv</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>转换为named_value对象(供脚本语言使用)。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nv</td><td>named_value对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回named_value对象。 </dd></dl>

</div>
</div>
<a id="adce66225fb372dc865fe9acddb5ab84e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adce66225fb372dc865fe9acddb5ab84e">&#9670;&nbsp;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_named_value.html">NamedValue</a> awtk.NamedValue.create </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建named_value对象。</p>
<dl class="section return"><dt>返回</dt><dd>返回named_value对象。 </dd></dl>

</div>
</div>
<a id="a01de2e65078532d362fc30f60ed36448"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01de2e65078532d362fc30f60ed36448">&#9670;&nbsp;</a></span>destroy()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.NamedValue.destroy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>销毁named_value对象。</p>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="aba2e502a4618eee24ef783b7972ff92a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba2e502a4618eee24ef783b7972ff92a">&#9670;&nbsp;</a></span>getName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.NamedValue.getName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>名称。 </p>

</div>
</div>
<a id="af6136a0e5cdff20cb633a85518528923"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6136a0e5cdff20cb633a85518528923">&#9670;&nbsp;</a></span>getValue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classawtk_1_1_value.html">Value</a> awtk.NamedValue.getValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取值对象(主要给脚本语言使用)。</p>
<dl class="section return"><dt>返回</dt><dd>返回值对象。 </dd></dl>

</div>
</div>
<a id="a425f793b32bb90a46e956ab704cd1883"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a425f793b32bb90a46e956ab704cd1883">&#9670;&nbsp;</a></span>setName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.NamedValue.setName </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置名称。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>名称。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a288b648448cc960e3ef0b201da369b36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a288b648448cc960e3ef0b201da369b36">&#9670;&nbsp;</a></span>setValue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.NamedValue.setValue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classawtk_1_1_value.html">Value</a>&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/NamedValue.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
